<template>
  <div>
    <input type="text" v-cusFocus name="" id="">
    <div class="textWrapCon">
      <div v-cusTextNoWrap="2">11111111111111111demodemodemodemodemo</div>
    </div>
    <TestAttr class="test" :ctitle="num" />
  </div>
</template>

<script lang="ts">
import { ref } from "vue";
import TestAttr from "./components/TestAttr/index.vue";

export default {
  components: {
    TestAttr
  },
  setup() {
    const num = ref(1)

    return {
      num
    }
  }
}
</script>

<style lang="scss" scoped>
 .textWrapCon {
   width: 100px;
 }
</style>